const _ = require("lodash");

function getSum(a, b, c) {
  return a + b + c;
}

let curriedGetSum = _.curry(getSum);
console.log(curriedGetSum(1, 2, 3));
console.log(curriedGetSum(1, 2)(3));
console.log(curriedGetSum(1)(2)(3));
